#ifndef _BIOS_H
#define _BIOS_H

#include "typedef.h"

#define EVENT_MAX_AR    8  
#define DO_PASSWORD		0x5AA5A300L

void _DiFilter();

extern volatile DWORD _g_dDiValue;
extern DWORD ar_dEvent[];
extern bool BYYXFLG[];
extern volatile DWORD dTCounter;


extern DWORD _dDoXState;
extern DWORD _dDoYState;
extern DWORD _dDoXxState;
extern DWORD _dDoYyState;



void Digital_Out(long lOut);
void _RstImportantDo();

void Digital_Back_Out(long lOut);


void RPT_Tidy();

void RPT_Record();
bool Is_Gaojing_Zong_Fugui(BYTE  byAlarmCode);
void MM_Event_Indicator(WORD wCode);
void Fugui_Operate();
void Reset_Command_Sys_Err();
void MM_TurnOn_Light(DWORD dlight);
void MM_TurnOff_Light(DWORD dlight);
#endif